//
//  UIView+extenSionView.m
//  viewExtension
//
//  Created by user on 15/12/7.
//  Copyright © 2015年 heima. All rights reserved.
//

#import "UIView+extenSionView.h"

@interface UIView()
@end


@implementation UIView (extenSionView)

//- (CGFloat)cornerRadius{
//    return self.layer.cornerRadius;
//}
- (void)setCornerRadius:(CGFloat)Radius{
    self.layer.cornerRadius = Radius;
    self.layer.masksToBounds = Radius > 0;
}

@end
